package com.example.server.web.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.example.server.web.domain.FactTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.server.web.domain.Questionnaire;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author YHJ
* @description (事实表) mapper
*/
public interface FactTableMapper extends BaseMapper<FactTable> {

    /**
     * 查询代码
     * @param questionnaire
     * @return
     */
    FactTable getCode(Questionnaire questionnaire);

    List<FactTable> selectListByYear(@Param("year") String year);
}




